#ifndef __SEND_H__
#define __SEND_H__

#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <signal.h>
#include <stdlib.h>

#include "discovery_service.h"
#include "softbus_bus_center.h"
#include "session.h"

#define pkgName "gstreamer"
#define sessionName "gstreamer"
#define TMP_PATH "/tmp/softbus_recv_pid.tmp"
#define SIG_TYPE  SIGUSR2
#define CMD_TAKEOFF 0x10
#define CMD_LAND 0x20
#define CMD_ARM 0x30

static int g_publishID = 123;
static const char cData[] = "hello world test";


int DiscoveryInterface();
void GetAllNodeDeviceInfoInterface(NodeBasicInfo **dev, int32_t *num);
int OpenSessionInterface(const char *SessionName, const char *peerName, const char *peerId);
int _CreateSessionServer();
void send_signal(int cmd);
// void DeviceFound(const DeviceInfo *device);
void DiscoverySuccess(int subscribeId);
void DiscoveryFailed(int subscribeId, DiscoveryFailReason reason);
#endif